﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<agent02.Model.TravelSearchModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Search
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Tìm Kiếm</h2>
    <% using (Html.BeginForm())
       {%>
        <%: Html.ValidationSummary(true)%>
    <table>
        <tr>
            <td>Loại Tour: </td>
            <td><%: Html.TextBoxFor(m => m.tourType)%></td>
        </tr>
        <tr>
            <td>Điểm Đi: </td>
            <td><%: Html.TextBoxFor(m => m.departure)%></td>
        </tr>
        <tr>
            <td>Điểm Đến: </td>
            <td><%: Html.TextBoxFor(m => m.destination)%></td>
        </tr>
        <tr>
            <td align="left" colspan="2">
                <input type="submit" value="Tìm" />
            </td>
        </tr>
    </table>
    <p>
        <%: Html.ActionLink("Tìm Kiếm Mở Rộng", "AdvanceSearch")%>
    </p>
    <% } %>
</asp:Content>
